//
//  MZTableViewController.m
//  Mehfile Zainab
//
//  Created by Badourali Azad on 31/10/2013.
//  Copyright (c) 2013 Azad Badourali. All rights reserved.
//

#import "MZTableViewController.h"

@implementation MZTableViewController

@synthesize refresh;

- (void) enablePullDownRefreshToTarget:(id)target action:(SEL)action title:(NSString *)title
{
    refresh = [[UIRefreshControl alloc] init];
    refresh.attributedTitle = [[NSAttributedString alloc] initWithString:title];
    [refresh addTarget:target action:action forControlEvents:UIControlEventValueChanged];
    self.refreshControl = refresh;
}

@end
